//
//  BaseTabBarController.m
//  BaseProject
//
//  Created by 刘航宇 on 16/9/6.
//  Copyright © 2016年 Tarena. All rights reserved.
//

#import "BaseTabBarController.h"

@implementation BaseTabBarController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
}

- (void)addChildViewController:(UIViewController *)childController Title:(NSString*)title ImageName:(NSString*)imageName selectedImage:(NSString *)selectedImage
{
    childController.tabBarItem.title = title;
    childController.tabBarItem.image = IMAGE(imageName);
    childController.tabBarItem.selectedImage = IMAGE(selectedImage);
    [self addChildViewController:childController];
    
}
@end
